package com.cskaoyan.service;

import com.cskaoyan.dao.UserDao;
import com.cskaoyan.dao.UserDaoImpl;
import lombok.Data;

/**
 * @author stone
 * @date 2022/04/25 09:50
 */
@Data
public class UserServiceImpl implements UserService{

    //UserDao userDao = new UserDaoImpl();
    UserDao userDao;

    @Override
    public void sayHello() {
        userDao.sayHello();
        System.out.println("hello world");
    }
}
